package com.ourteam.system.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:31
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class SysUserLoginLogDAOQueryBean extends BaseQueryBean {
    public SysUserLoginLogDAOQueryBean() {
        super();
    }

    public SysUserLoginLogDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public SysUserLoginLogDAOQueryBean(BaseQueryBean aQueryBean,
        Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addIdSelectProperty() {
        addIdSelectProperty("id");
    }

    public void addIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.Id, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.Id, "id");
        }
    }

    public void addUserIdSelectProperty() {
        addUserIdSelectProperty("userId");
    }

    public void addUserIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.UserId, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.UserId, "userId");
        }
    }

    public void addSessionIdSelectProperty() {
        addSessionIdSelectProperty("sessionId");
    }

    public void addSessionIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.SessionId, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.SessionId, "sessionId");
        }
    }

    public void addLoginTimeSelectProperty() {
        addLoginTimeSelectProperty("loginTime");
    }

    public void addLoginTimeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.LoginTime, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.LoginTime, "loginTime");
        }
    }

    public void addLoginIpSelectProperty() {
        addLoginIpSelectProperty("loginIp");
    }

    public void addLoginIpSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.LoginIp, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.LoginIp, "loginIp");
        }
    }

    public void addLogoutTimeSelectProperty() {
        addLogoutTimeSelectProperty("logoutTime");
    }

    public void addLogoutTimeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.LogoutTime, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.LogoutTime, "logoutTime");
        }
    }

    public void addOnlineTimeSelectProperty() {
        addOnlineTimeSelectProperty("onlineTime");
    }

    public void addOnlineTimeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.OnlineTime, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.OnlineTime, "onlineTime");
        }
    }

    public void addOnlineMinuteSelectProperty() {
        addOnlineMinuteSelectProperty("onlineMinute");
    }

    public void addOnlineMinuteSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.OnlineMinute, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.OnlineMinute, "onlineMinute");
        }
    }

    public void addLastAccessedTimeSelectProperty() {
        addLastAccessedTimeSelectProperty("lastAccessedTime");
    }

    public void addLastAccessedTimeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.LastAccessedTime, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.LastAccessedTime,
                "lastAccessedTime");
        }
    }

    public void addLoginStatusSelectProperty() {
        addLoginStatusSelectProperty("loginStatus");
    }

    public void addLoginStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.LoginStatus, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.LoginStatus, "loginStatus");
        }
    }

    public void addUserNameSelectProperty() {
        addUserNameSelectProperty("userName");
    }

    public void addUserNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.UserName, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.UserName, "userName");
        }
    }

    public void addUserAccountSelectProperty() {
        addUserAccountSelectProperty("userAccount");
    }

    public void addUserAccountSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.UserAccount, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.UserAccount, "userAccount");
        }
    }

    public void addUserTypeSelectProperty() {
        addUserTypeSelectProperty("userType");
    }

    public void addUserTypeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.UserType, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.UserType, "userType");
        }
    }

    public void addUserStatusSelectProperty() {
        addUserStatusSelectProperty("userStatus");
    }

    public void addUserStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysUserLoginLogDAO.UserStatus, aAlias);
        } else {
            addSelectProperty(ISysUserLoginLogDAO.UserStatus, "userStatus");
        }
    }

    public void addAllSelectProperties() {
        addIdSelectProperty();

        addUserIdSelectProperty();

        addSessionIdSelectProperty();

        addLoginTimeSelectProperty();

        addLoginIpSelectProperty();

        addLogoutTimeSelectProperty();

        addOnlineTimeSelectProperty();

        addOnlineMinuteSelectProperty();

        addLastAccessedTimeSelectProperty();

        addLoginStatusSelectProperty();

        addUserNameSelectProperty();

        addUserAccountSelectProperty();

        addUserTypeSelectProperty();

        addUserStatusSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<SysUserLoginLogDAOQueryBean> {
        protected Criteria(SysUserLoginLogDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andIdIsNull() {
            addCriterion(ISysUserLoginLogDAO.Id + " is null");

            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.Id + " is not null");

            return this;
        }

        public Criteria andIdIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.Id + " is not null AND " +
                ISysUserLoginLogDAO.Id + " <> ''");

            return this;
        }

        public Criteria andIdIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.Id + " is null OR " +
                ISysUserLoginLogDAO.Id + " = '')");

            return this;
        }

        public Criteria andIdEqualTo(long value) {
            return andIdEqualTo(Long.valueOf(value));
        }

        public Criteria andIdEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " = ", value, "id");

            return this;
        }

        public Criteria andIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotEqualTo(long value) {
            return andIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToOrIsNull(long value) {
            return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " is null OR " +
                ISysUserLoginLogDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThan(long value) {
            return andIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " >", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(long value) {
            return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " >=", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThan(long value) {
            return andIdLessThan(Long.valueOf(value));
        }

        public Criteria andIdLessThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " <", value, "id");

            return this;
        }

        public Criteria andIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(long value) {
            return andIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.Id + " <=", value, "id");

            return this;
        }

        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.Id);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdIn(long[] values) {
            if (values.length == 1) {
                return andIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.Id + " not in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.Id + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.Id + " between", value1, value2,
                "id");

            return this;
        }

        public Criteria andIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.Id + " between", value1, value2,
                "id");

            return this;
        }

        public Criteria andIdNotBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.Id + " not between", value1,
                value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.Id + " not between", value1,
                value2, "id");

            return this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion(ISysUserLoginLogDAO.UserId + " is null");

            return this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.UserId + " is not null");

            return this;
        }

        public Criteria andUserIdIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.UserId + " is not null AND " +
                ISysUserLoginLogDAO.UserId + " <> ''");

            return this;
        }

        public Criteria andUserIdIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.UserId + " is null OR " +
                ISysUserLoginLogDAO.UserId + " = '')");

            return this;
        }

        public Criteria andUserIdEqualTo(long value) {
            return andUserIdEqualTo(Long.valueOf(value));
        }

        public Criteria andUserIdEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " = ", value, "userId");

            return this;
        }

        public Criteria andUserIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdNotEqualTo(long value) {
            return andUserIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andUserIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " <>", value, "userId");

            return this;
        }

        public Criteria andUserIdNotEqualToOrIsNull(long value) {
            return andUserIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andUserIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " is null OR " +
                ISysUserLoginLogDAO.UserId + " <>", value, "userId");

            return this;
        }

        public Criteria andUserIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdGreaterThan(long value) {
            return andUserIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andUserIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " >", value, "userId");

            return this;
        }

        public Criteria andUserIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(long value) {
            return andUserIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andUserIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " >=", value, "userId");

            return this;
        }

        public Criteria andUserIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdLessThan(long value) {
            return andUserIdLessThan(Long.valueOf(value));
        }

        public Criteria andUserIdLessThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " <", value, "userId");

            return this;
        }

        public Criteria andUserIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdLessThanOrEqualTo(long value) {
            return andUserIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andUserIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.UserId + " <=", value, "userId");

            return this;
        }

        public Criteria andUserIdLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserId);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdIn(long[] values) {
            if (values.length == 1) {
                return andUserIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " in", values,
                    "userId");

                return this;
            }
        }

        public Criteria andUserIdNotIn(long[] values) {
            if (values.length == 1) {
                return andUserIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " not in", values,
                    "userId");

                return this;
            }
        }

        public Criteria andUserIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andUserIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " in", values,
                    "userId");

                return this;
            }
        }

        public Criteria andUserIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andUserIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " not in", values,
                    "userId");

                return this;
            }
        }

        public Criteria andUserIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andUserIdEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " in",
                    Arrays.asList(values), "userId");

                return this;
            }
        }

        public Criteria andUserIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andUserIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserId + " not in",
                    Arrays.asList(values), "userId");

                return this;
            }
        }

        public Criteria andUserIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserId + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserIdBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.UserId + " between", value1,
                value2, "userId");

            return this;
        }

        public Criteria andUserIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.UserId + " between", value1,
                value2, "userId");

            return this;
        }

        public Criteria andUserIdNotBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.UserId + " not between", value1,
                value2, "userId");

            return this;
        }

        public Criteria andUserIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.UserId + " not between", value1,
                value2, "userId");

            return this;
        }

        public Criteria andSessionIdIsNull() {
            addCriterion(ISysUserLoginLogDAO.SessionId + " is null");

            return this;
        }

        public Criteria andSessionIdIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.SessionId + " is not null");

            return this;
        }

        public Criteria andSessionIdIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.SessionId + " is not null AND " +
                ISysUserLoginLogDAO.SessionId + " <> ''");

            return this;
        }

        public Criteria andSessionIdIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.SessionId + " is null OR " +
                ISysUserLoginLogDAO.SessionId + " = '')");

            return this;
        }

        public Criteria andSessionIdEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " = ", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " <>", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " is null OR " +
                ISysUserLoginLogDAO.SessionId + " <>", value, "sessionId");

            return this;
        }

        public Criteria andSessionIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " >", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " >=", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " <", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " <=", value,
                "sessionId");

            return this;
        }

        public Criteria andSessionIdLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.SessionId);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSessionIdLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.SessionId + " like",
                buffer.toString(), "sessionId");

            return this;
        }

        public Criteria andSessionIdNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.SessionId + " not like",
                buffer.toString(), "sessionId");

            return this;
        }

        public Criteria andSessionIdIn(List<String> values) {
            if (values.size() == 1) {
                return andSessionIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.SessionId + " in", values,
                    "sessionId");

                return this;
            }
        }

        public Criteria andSessionIdNotIn(List<String> values) {
            if (values.size() == 1) {
                return andSessionIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.SessionId + " not in", values,
                    "sessionId");

                return this;
            }
        }

        public Criteria andSessionIdIn(String[] values) {
            if (values.length == 1) {
                return andSessionIdEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.SessionId + " in",
                    Arrays.asList(values), "sessionId");

                return this;
            }
        }

        public Criteria andSessionIdNotIn(String[] values) {
            if (values.length == 1) {
                return andSessionIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.SessionId + " not in",
                    Arrays.asList(values), "sessionId");

                return this;
            }
        }

        public Criteria andSessionIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andSessionIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSessionIdBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " between", value1,
                value2, "sessionId");

            return this;
        }

        public Criteria andSessionIdNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.SessionId + " not between",
                value1, value2, "sessionId");

            return this;
        }

        public Criteria andLoginTimeIsNull() {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " is null");

            return this;
        }

        public Criteria andLoginTimeIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " is not null");

            return this;
        }

        public Criteria andLoginTimeIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " is not null AND " +
                ISysUserLoginLogDAO.LoginTime + " <> ''");

            return this;
        }

        public Criteria andLoginTimeIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.LoginTime + " is null OR " +
                ISysUserLoginLogDAO.LoginTime + " = '')");

            return this;
        }

        public Criteria andLoginTimeEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " = ",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeNotEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " <>",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeNotEqualToOrIsNull(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime +
                " is null OR " + ISysUserLoginLogDAO.LoginTime + " <>", value,
                "loginTime");

            return this;
        }

        public Criteria andLoginTimeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeGreaterThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " >",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeGreaterThanOrEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " >=",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeLessThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " <",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeLessThanOrEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " <=",
                value, "loginTime");

            return this;
        }

        public Criteria andLoginTimeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginTime);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginTimeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLoginTimeEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " in",
                    values, "loginTime");

                return this;
            }
        }

        public Criteria andLoginTimeNotIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLoginTimeNotEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime +
                    " not in", values, "loginTime");

                return this;
            }
        }

        public Criteria andLoginTimeIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLoginTimeEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " in",
                    Arrays.asList(values), "loginTime");

                return this;
            }
        }

        public Criteria andLoginTimeNotIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLoginTimeNotEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime +
                    " not in", Arrays.asList(values), "loginTime");

                return this;
            }
        }

        public Criteria andLoginTimeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginTimeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginTime + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginTimeBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime + " between",
                value1, value2, "loginTime");

            return this;
        }

        public Criteria andLoginTimeNotBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LoginTime +
                " not between", value1, value2, "loginTime");

            return this;
        }

        public Criteria andLoginIpIsNull() {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " is null");

            return this;
        }

        public Criteria andLoginIpIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " is not null");

            return this;
        }

        public Criteria andLoginIpIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " is not null AND " +
                ISysUserLoginLogDAO.LoginIp + " <> ''");

            return this;
        }

        public Criteria andLoginIpIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.LoginIp + " is null OR " +
                ISysUserLoginLogDAO.LoginIp + " = '')");

            return this;
        }

        public Criteria andLoginIpEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " = ", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " <>", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " is null OR " +
                ISysUserLoginLogDAO.LoginIp + " <>", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " >", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " >=", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " <", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " <=", value, "loginIp");

            return this;
        }

        public Criteria andLoginIpLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginIp);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginIpLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.LoginIp + " like",
                buffer.toString(), "loginIp");

            return this;
        }

        public Criteria andLoginIpNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.LoginIp + " not like",
                buffer.toString(), "loginIp");

            return this;
        }

        public Criteria andLoginIpIn(List<String> values) {
            if (values.size() == 1) {
                return andLoginIpEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginIp + " in", values,
                    "loginIp");

                return this;
            }
        }

        public Criteria andLoginIpNotIn(List<String> values) {
            if (values.size() == 1) {
                return andLoginIpNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginIp + " not in", values,
                    "loginIp");

                return this;
            }
        }

        public Criteria andLoginIpIn(String[] values) {
            if (values.length == 1) {
                return andLoginIpEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginIp + " in",
                    Arrays.asList(values), "loginIp");

                return this;
            }
        }

        public Criteria andLoginIpNotIn(String[] values) {
            if (values.length == 1) {
                return andLoginIpNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginIp + " not in",
                    Arrays.asList(values), "loginIp");

                return this;
            }
        }

        public Criteria andLoginIpIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginIpBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " between", value1,
                value2, "loginIp");

            return this;
        }

        public Criteria andLoginIpNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.LoginIp + " not between", value1,
                value2, "loginIp");

            return this;
        }

        public Criteria andLogoutTimeIsNull() {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " is null");

            return this;
        }

        public Criteria andLogoutTimeIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " is not null");

            return this;
        }

        public Criteria andLogoutTimeIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " is not null AND " +
                ISysUserLoginLogDAO.LogoutTime + " <> ''");

            return this;
        }

        public Criteria andLogoutTimeIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.LogoutTime + " is null OR " +
                ISysUserLoginLogDAO.LogoutTime + " = '')");

            return this;
        }

        public Criteria andLogoutTimeEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " = ",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeNotEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " <>",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeNotEqualToOrIsNull(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime +
                " is null OR " + ISysUserLoginLogDAO.LogoutTime + " <>", value,
                "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeGreaterThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " >",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeGreaterThanOrEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " >=",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeLessThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " <",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeLessThanOrEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " <=",
                value, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LogoutTime);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLogoutTimeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLogoutTimeEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " in",
                    values, "logoutTime");

                return this;
            }
        }

        public Criteria andLogoutTimeNotIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLogoutTimeNotEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime +
                    " not in", values, "logoutTime");

                return this;
            }
        }

        public Criteria andLogoutTimeIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLogoutTimeEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime + " in",
                    Arrays.asList(values), "logoutTime");

                return this;
            }
        }

        public Criteria andLogoutTimeNotIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLogoutTimeNotEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime +
                    " not in", Arrays.asList(values), "logoutTime");

                return this;
            }
        }

        public Criteria andLogoutTimeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLogoutTimeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LogoutTime + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLogoutTimeBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime +
                " between", value1, value2, "logoutTime");

            return this;
        }

        public Criteria andLogoutTimeNotBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LogoutTime +
                " not between", value1, value2, "logoutTime");

            return this;
        }

        public Criteria andOnlineTimeIsNull() {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " is null");

            return this;
        }

        public Criteria andOnlineTimeIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " is not null");

            return this;
        }

        public Criteria andOnlineTimeIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " is not null AND " +
                ISysUserLoginLogDAO.OnlineTime + " <> ''");

            return this;
        }

        public Criteria andOnlineTimeIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.OnlineTime + " is null OR " +
                ISysUserLoginLogDAO.OnlineTime + " = '')");

            return this;
        }

        public Criteria andOnlineTimeEqualTo(long value) {
            return andOnlineTimeEqualTo(Long.valueOf(value));
        }

        public Criteria andOnlineTimeEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " = ", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeNotEqualTo(long value) {
            return andOnlineTimeNotEqualTo(Long.valueOf(value));
        }

        public Criteria andOnlineTimeNotEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " <>", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeNotEqualToOrIsNull(long value) {
            return andOnlineTimeNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andOnlineTimeNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " is null OR " +
                ISysUserLoginLogDAO.OnlineTime + " <>", value, "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeGreaterThan(long value) {
            return andOnlineTimeGreaterThan(Long.valueOf(value));
        }

        public Criteria andOnlineTimeGreaterThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " >", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeGreaterThanOrEqualTo(long value) {
            return andOnlineTimeGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andOnlineTimeGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " >=", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeLessThan(long value) {
            return andOnlineTimeLessThan(Long.valueOf(value));
        }

        public Criteria andOnlineTimeLessThan(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " <", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeLessThanOrEqualTo(long value) {
            return andOnlineTimeLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andOnlineTimeLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " <=", value,
                "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineTime);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineTimeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeIn(long[] values) {
            if (values.length == 1) {
                return andOnlineTimeEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " in", values,
                    "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeNotIn(long[] values) {
            if (values.length == 1) {
                return andOnlineTimeNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " not in",
                    values, "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andOnlineTimeEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " in", values,
                    "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andOnlineTimeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " not in",
                    values, "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andOnlineTimeEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " in",
                    Arrays.asList(values), "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andOnlineTimeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineTime + " not in",
                    Arrays.asList(values), "onlineTime");

                return this;
            }
        }

        public Criteria andOnlineTimeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andOnlineTimeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineTimeBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " between", value1,
                value2, "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " between", value1,
                value2, "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeNotBetween(long value1, long value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " not between",
                value1, value2, "onlineTime");

            return this;
        }

        public Criteria andOnlineTimeNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineTime + " not between",
                value1, value2, "onlineTime");

            return this;
        }

        public Criteria andOnlineMinuteIsNull() {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " is null");

            return this;
        }

        public Criteria andOnlineMinuteIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " is not null");

            return this;
        }

        public Criteria andOnlineMinuteIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute +
                " is not null AND " + ISysUserLoginLogDAO.OnlineMinute +
                " <> ''");

            return this;
        }

        public Criteria andOnlineMinuteIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.OnlineMinute +
                " is null OR " + ISysUserLoginLogDAO.OnlineMinute + " = '')");

            return this;
        }

        public Criteria andOnlineMinuteEqualTo(float value) {
            return andOnlineMinuteEqualTo(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteEqualTo(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " = ", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteNotEqualTo(float value) {
            return andOnlineMinuteNotEqualTo(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteNotEqualTo(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " <>", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteNotEqualToOrIsNull(float value) {
            return andOnlineMinuteNotEqualToOrIsNull(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteNotEqualToOrIsNull(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " is null OR " +
                ISysUserLoginLogDAO.OnlineMinute + " <>", value, "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteGreaterThan(float value) {
            return andOnlineMinuteGreaterThan(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteGreaterThan(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " >", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteGreaterThanOrEqualTo(float value) {
            return andOnlineMinuteGreaterThanOrEqualTo(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteGreaterThanOrEqualTo(
            java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " >=", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteLessThan(float value) {
            return andOnlineMinuteLessThan(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteLessThan(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " <", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteLessThanOrEqualTo(float value) {
            return andOnlineMinuteLessThanOrEqualTo(Float.valueOf(value));
        }

        public Criteria andOnlineMinuteLessThanOrEqualTo(java.lang.Float value) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " <=", value,
                "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.OnlineMinute);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andOnlineMinuteLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteIn(float[] values) {
            if (values.length == 1) {
                return andOnlineMinuteEqualTo((java.lang.Float) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " in", values,
                    "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteNotIn(float[] values) {
            if (values.length == 1) {
                return andOnlineMinuteNotEqualTo((java.lang.Float) values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not in",
                    values, "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteIn(List<java.lang.Float> values) {
            if (values.size() == 1) {
                return andOnlineMinuteEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " in", values,
                    "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteNotIn(List<java.lang.Float> values) {
            if (values.size() == 1) {
                return andOnlineMinuteNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not in",
                    values, "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteIn(java.lang.Float[] values) {
            if (values.length == 1) {
                return andOnlineMinuteEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " in",
                    Arrays.asList(values), "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteNotIn(java.lang.Float[] values) {
            if (values.length == 1) {
                return andOnlineMinuteNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not in",
                    Arrays.asList(values), "onlineMinute");

                return this;
            }
        }

        public Criteria andOnlineMinuteIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andOnlineMinuteBetween(float value1, float value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " between", value1,
                value2, "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteBetween(java.lang.Float value1,
            java.lang.Float value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " between", value1,
                value2, "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteNotBetween(float value1, float value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not between",
                value1, value2, "onlineMinute");

            return this;
        }

        public Criteria andOnlineMinuteNotBetween(java.lang.Float value1,
            java.lang.Float value2) {
            addCriterion(ISysUserLoginLogDAO.OnlineMinute + " not between",
                value1, value2, "onlineMinute");

            return this;
        }

        public Criteria andLastAccessedTimeIsNull() {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " is null");

            return this;
        }

        public Criteria andLastAccessedTimeIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " is not null");

            return this;
        }

        public Criteria andLastAccessedTimeIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime +
                " is not null AND " + ISysUserLoginLogDAO.LastAccessedTime +
                " <> ''");

            return this;
        }

        public Criteria andLastAccessedTimeIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.LastAccessedTime +
                " is null OR " + ISysUserLoginLogDAO.LastAccessedTime +
                " = '')");

            return this;
        }

        public Criteria andLastAccessedTimeEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " = ", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeNotEqualTo(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " <>", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeNotEqualToOrIsNull(
            java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " is null OR " + ISysUserLoginLogDAO.LastAccessedTime + " <>",
                value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " >", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThanOrEqualTo(
            java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " >=", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeLessThan(java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " <", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeLessThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeLessThanOrEqualTo(
            java.util.Date value) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " <=", value, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LastAccessedTime);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLastAccessedTimeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLastAccessedTimeEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                    " in", values, "lastAccessedTime");

                return this;
            }
        }

        public Criteria andLastAccessedTimeNotIn(List<java.util.Date> values) {
            if (values.size() == 1) {
                return andLastAccessedTimeNotEqualTo(values.get(0));
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                    " not in", values, "lastAccessedTime");

                return this;
            }
        }

        public Criteria andLastAccessedTimeIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLastAccessedTimeEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                    " in", Arrays.asList(values), "lastAccessedTime");

                return this;
            }
        }

        public Criteria andLastAccessedTimeNotIn(java.util.Date[] values) {
            if (values.length == 1) {
                return andLastAccessedTimeNotEqualTo(values[0]);
            } else {
                addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                    " not in", Arrays.asList(values), "lastAccessedTime");

                return this;
            }
        }

        public Criteria andLastAccessedTimeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LastAccessedTime + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLastAccessedTimeBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " between", value1, value2, "lastAccessedTime");

            return this;
        }

        public Criteria andLastAccessedTimeNotBetween(java.util.Date value1,
            java.util.Date value2) {
            addCriterionForJDBCDate(ISysUserLoginLogDAO.LastAccessedTime +
                " not between", value1, value2, "lastAccessedTime");

            return this;
        }

        public Criteria andLoginStatusIsNull() {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " is null");

            return this;
        }

        public Criteria andLoginStatusIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " is not null");

            return this;
        }

        public Criteria andLoginStatusIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " is not null AND " +
                ISysUserLoginLogDAO.LoginStatus + " <> ''");

            return this;
        }

        public Criteria andLoginStatusIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.LoginStatus +
                " is null OR " + ISysUserLoginLogDAO.LoginStatus + " = '')");

            return this;
        }

        public Criteria andLoginStatusEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " = ", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginStatusNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " <>", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " is null OR " +
                ISysUserLoginLogDAO.LoginStatus + " <>", value, "loginStatus");

            return this;
        }

        public Criteria andLoginStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginStatusGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " >", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginStatusGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " >=", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginStatusLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " <", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andLoginStatusLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " <=", value,
                "loginStatus");

            return this;
        }

        public Criteria andLoginStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.LoginStatus);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andLoginStatusLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " like",
                buffer.toString(), "loginStatus");

            return this;
        }

        public Criteria andLoginStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " not like",
                buffer.toString(), "loginStatus");

            return this;
        }

        public Criteria andLoginStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andLoginStatusEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginStatus + " in", values,
                    "loginStatus");

                return this;
            }
        }

        public Criteria andLoginStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andLoginStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginStatus + " not in",
                    values, "loginStatus");

                return this;
            }
        }

        public Criteria andLoginStatusIn(String[] values) {
            if (values.length == 1) {
                return andLoginStatusEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginStatus + " in",
                    Arrays.asList(values), "loginStatus");

                return this;
            }
        }

        public Criteria andLoginStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andLoginStatusNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.LoginStatus + " not in",
                    Arrays.asList(values), "loginStatus");

                return this;
            }
        }

        public Criteria andLoginStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andLoginStatusBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " between", value1,
                value2, "loginStatus");

            return this;
        }

        public Criteria andLoginStatusNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.LoginStatus + " not between",
                value1, value2, "loginStatus");

            return this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion(ISysUserLoginLogDAO.UserName + " is null");

            return this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.UserName + " is not null");

            return this;
        }

        public Criteria andUserNameIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.UserName + " is not null AND " +
                ISysUserLoginLogDAO.UserName + " <> ''");

            return this;
        }

        public Criteria andUserNameIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.UserName + " is null OR " +
                ISysUserLoginLogDAO.UserName + " = '')");

            return this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " = ", value, "userName");

            return this;
        }

        public Criteria andUserNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " <>", value, "userName");

            return this;
        }

        public Criteria andUserNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " is null OR " +
                ISysUserLoginLogDAO.UserName + " <>", value, "userName");

            return this;
        }

        public Criteria andUserNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " >", value, "userName");

            return this;
        }

        public Criteria andUserNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " >=", value, "userName");

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " <", value, "userName");

            return this;
        }

        public Criteria andUserNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserName + " <=", value, "userName");

            return this;
        }

        public Criteria andUserNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserName + " like",
                buffer.toString(), "userName");

            return this;
        }

        public Criteria andUserNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserName + " not like",
                buffer.toString(), "userName");

            return this;
        }

        public Criteria andUserNameIn(List<String> values) {
            if (values.size() == 1) {
                return andUserNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserName + " in", values,
                    "userName");

                return this;
            }
        }

        public Criteria andUserNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andUserNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserName + " not in", values,
                    "userName");

                return this;
            }
        }

        public Criteria andUserNameIn(String[] values) {
            if (values.length == 1) {
                return andUserNameEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserName + " in",
                    Arrays.asList(values), "userName");

                return this;
            }
        }

        public Criteria andUserNameNotIn(String[] values) {
            if (values.length == 1) {
                return andUserNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserName + " not in",
                    Arrays.asList(values), "userName");

                return this;
            }
        }

        public Criteria andUserNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserName + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserName + " between", value1,
                value2, "userName");

            return this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserName + " not between", value1,
                value2, "userName");

            return this;
        }

        public Criteria andUserAccountIsNull() {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " is null");

            return this;
        }

        public Criteria andUserAccountIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " is not null");

            return this;
        }

        public Criteria andUserAccountIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " is not null AND " +
                ISysUserLoginLogDAO.UserAccount + " <> ''");

            return this;
        }

        public Criteria andUserAccountIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.UserAccount +
                " is null OR " + ISysUserLoginLogDAO.UserAccount + " = '')");

            return this;
        }

        public Criteria andUserAccountEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " = ", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserAccountNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " <>", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " is null OR " +
                ISysUserLoginLogDAO.UserAccount + " <>", value, "userAccount");

            return this;
        }

        public Criteria andUserAccountNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserAccountGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " >", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserAccountGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " >=", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserAccountLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " <", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserAccountLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " <=", value,
                "userAccount");

            return this;
        }

        public Criteria andUserAccountLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserAccount);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserAccountLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserAccountLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserAccount + " like",
                buffer.toString(), "userAccount");

            return this;
        }

        public Criteria andUserAccountNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserAccount + " not like",
                buffer.toString(), "userAccount");

            return this;
        }

        public Criteria andUserAccountIn(List<String> values) {
            if (values.size() == 1) {
                return andUserAccountEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserAccount + " in", values,
                    "userAccount");

                return this;
            }
        }

        public Criteria andUserAccountNotIn(List<String> values) {
            if (values.size() == 1) {
                return andUserAccountNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserAccount + " not in",
                    values, "userAccount");

                return this;
            }
        }

        public Criteria andUserAccountIn(String[] values) {
            if (values.length == 1) {
                return andUserAccountEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserAccount + " in",
                    Arrays.asList(values), "userAccount");

                return this;
            }
        }

        public Criteria andUserAccountNotIn(String[] values) {
            if (values.length == 1) {
                return andUserAccountNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserAccount + " not in",
                    Arrays.asList(values), "userAccount");

                return this;
            }
        }

        public Criteria andUserAccountIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserAccountNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserAccountBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " between", value1,
                value2, "userAccount");

            return this;
        }

        public Criteria andUserAccountNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserAccount + " not between",
                value1, value2, "userAccount");

            return this;
        }

        public Criteria andUserTypeIsNull() {
            addCriterion(ISysUserLoginLogDAO.UserType + " is null");

            return this;
        }

        public Criteria andUserTypeIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.UserType + " is not null");

            return this;
        }

        public Criteria andUserTypeIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.UserType + " is not null AND " +
                ISysUserLoginLogDAO.UserType + " <> ''");

            return this;
        }

        public Criteria andUserTypeIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.UserType + " is null OR " +
                ISysUserLoginLogDAO.UserType + " = '')");

            return this;
        }

        public Criteria andUserTypeEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " = ", value, "userType");

            return this;
        }

        public Criteria andUserTypeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserTypeNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " <>", value, "userType");

            return this;
        }

        public Criteria andUserTypeNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " is null OR " +
                ISysUserLoginLogDAO.UserType + " <>", value, "userType");

            return this;
        }

        public Criteria andUserTypeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserTypeGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " >", value, "userType");

            return this;
        }

        public Criteria andUserTypeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " >=", value, "userType");

            return this;
        }

        public Criteria andUserTypeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserTypeLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " <", value, "userType");

            return this;
        }

        public Criteria andUserTypeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserType + " <=", value, "userType");

            return this;
        }

        public Criteria andUserTypeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserType);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserTypeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserTypeLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserType + " like",
                buffer.toString(), "userType");

            return this;
        }

        public Criteria andUserTypeNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserType + " not like",
                buffer.toString(), "userType");

            return this;
        }

        public Criteria andUserTypeIn(List<String> values) {
            if (values.size() == 1) {
                return andUserTypeEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserType + " in", values,
                    "userType");

                return this;
            }
        }

        public Criteria andUserTypeNotIn(List<String> values) {
            if (values.size() == 1) {
                return andUserTypeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserType + " not in", values,
                    "userType");

                return this;
            }
        }

        public Criteria andUserTypeIn(String[] values) {
            if (values.length == 1) {
                return andUserTypeEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserType + " in",
                    Arrays.asList(values), "userType");

                return this;
            }
        }

        public Criteria andUserTypeNotIn(String[] values) {
            if (values.length == 1) {
                return andUserTypeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserType + " not in",
                    Arrays.asList(values), "userType");

                return this;
            }
        }

        public Criteria andUserTypeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserTypeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserType + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserTypeBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserType + " between", value1,
                value2, "userType");

            return this;
        }

        public Criteria andUserTypeNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserType + " not between", value1,
                value2, "userType");

            return this;
        }

        public Criteria andUserStatusIsNull() {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " is null");

            return this;
        }

        public Criteria andUserStatusIsNotNull() {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " is not null");

            return this;
        }

        public Criteria andUserStatusIsNotEmpty() {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " is not null AND " +
                ISysUserLoginLogDAO.UserStatus + " <> ''");

            return this;
        }

        public Criteria andUserStatusIsEmpty() {
            addCriterion("(" + ISysUserLoginLogDAO.UserStatus + " is null OR " +
                ISysUserLoginLogDAO.UserStatus + " = '')");

            return this;
        }

        public Criteria andUserStatusEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " = ", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusNotEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " <>", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusNotEqualToOrIsNull(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " is null OR " +
                ISysUserLoginLogDAO.UserStatus + " <>", value, "userStatus");

            return this;
        }

        public Criteria andUserStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusGreaterThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " >", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusGreaterThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " >=", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusLessThan(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " <", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusLessThanOrEqualTo(String value) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " <=", value,
                "userStatus");

            return this;
        }

        public Criteria andUserStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysUserLoginLogDAO.UserStatus);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andUserStatusLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserStatus + " like",
                buffer.toString(), "userStatus");

            return this;
        }

        public Criteria andUserStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysUserLoginLogDAO.UserStatus + " not like",
                buffer.toString(), "userStatus");

            return this;
        }

        public Criteria andUserStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andUserStatusEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserStatus + " in", values,
                    "userStatus");

                return this;
            }
        }

        public Criteria andUserStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andUserStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysUserLoginLogDAO.UserStatus + " not in",
                    values, "userStatus");

                return this;
            }
        }

        public Criteria andUserStatusIn(String[] values) {
            if (values.length == 1) {
                return andUserStatusEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserStatus + " in",
                    Arrays.asList(values), "userStatus");

                return this;
            }
        }

        public Criteria andUserStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andUserStatusNotEqualTo(values[0]);
            } else {
                addCriterion(ISysUserLoginLogDAO.UserStatus + " not in",
                    Arrays.asList(values), "userStatus");

                return this;
            }
        }

        public Criteria andUserStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andUserStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andUserStatusBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " between", value1,
                value2, "userStatus");

            return this;
        }

        public Criteria andUserStatusNotBetween(String value1, String value2) {
            addCriterion(ISysUserLoginLogDAO.UserStatus + " not between",
                value1, value2, "userStatus");

            return this;
        }
    }
}
